Skip to content

Conversation

toger5
Copy link
Contributor

@toger5 toger5 commented Oct 11, 2025

This PR changes the responsibitiy of the SessionManager.

  • before: it was listeinging to all state event updates and called recalculate members on effected rtc sessions. This resulted in a couple of duplicated member recalculations because the session itself also listened to the same events.
  • now: The SessionManager is ONLY responsible for starting a session. So it will only listen to the events required to find out if a new sessins just started. All event listener setup is done inside the MatrixRTC session itself. This also makes the RTCSession easier to read since we do not call recalculateSessionMembers externally which cannot be seen when just looking at the MatrixRTC session.

Signed-off-by: Timo K [email protected]

Checklist

  • Tests written for new code (and old code if feasible).
  • New or updated public/exported symbols have accurate TSDoc documentation.
  • Linter and other CI checks pass.
  • Sign-off given on the changes (see CONTRIBUTING.md).

Base automatically changed from toger5/sticky-events to develop October 23, 2025 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants